
const components = [
	{
		name : 'o-test',
		component : () => import('@/components/global/test')
	},
	{
		name : 'edit-table-column',
		component : () => import('@/components/global/edit-table-column')
	},
	{
		name : 'o-tips',
		component : () => import('@/components/global/o-tips')
	},
	{
		name : 'o-pagination',
		component : () => import('@/components/global/o-pagination')
	},
	{
		name : 'o-tree',
		component : () => import('@/components/global/o-tree')
	},
	{
		name : 'o-select',
		component : () => import('@/components/global/o-select')
	},
	{
		name : 'o-upload',
		component : () => import('@/components/global/o-upload')
	},
	{
		name : 'o-editor',
		component : () => import('@/components/global/o-editor')
	},
	{
		name : 'o-date-picker',
		component : () => import('@/components/global/o-date-picker')
	},
	{
		name : 'o-server-form',
		component : () => import('@/components/global/o-server-form')
	}
]


export default {
	install (Vue, options) {
		components.map(item => {
			Vue.component(item.name, item.component)
		})
	}
}

